package com.ruoyi.fun.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商户基本信息对象 sys_wechat_config
 * 
 * @author dreamyy
 * @date 2025-09-09
 */
public class SysWechatConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 微信小程序AppID */
    @Excel(name = "微信小程序AppID")
    private String wechatAppid;

    /** 微信小程序名称 */
    @Excel(name = "微信小程序名称")
    private String wechatName;

    /** 微信小程序AppSecret */
    @Excel(name = "微信小程序AppSecret")
    private String wechatAppsecret;

    /** 组织机构ID */
    @Excel(name = "组织机构ID")
    private String orgId;

    /** 微信商户号 */
    @Excel(name = "微信商户号")
    private String mchId;

    /** 支付API密钥 */
    @Excel(name = "支付API密钥")
    private String payApiclientKey;

    /** API商户密钥 */
    @Excel(name = "API商户密钥")
    private String apiMchKey;

    /** APIv3密钥 */
    @Excel(name = "APIv3密钥")
    private String apiV3Key;

    /** 密钥上传URL */
    @Excel(name = "密钥上传URL")
    private String uploadKeyUrl;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private String auditStatus;

    /** 是否默认配置 */
    private String isDefault;

    /** 删除标志 */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setWechatAppid(String wechatAppid) 
    {
        this.wechatAppid = wechatAppid;
    }

    public String getWechatAppid() 
    {
        return wechatAppid;
    }

    public void setWechatName(String wechatName) 
    {
        this.wechatName = wechatName;
    }

    public String getWechatName() 
    {
        return wechatName;
    }

    public void setWechatAppsecret(String wechatAppsecret) 
    {
        this.wechatAppsecret = wechatAppsecret;
    }

    public String getWechatAppsecret() 
    {
        return wechatAppsecret;
    }

    public void setOrgId(String orgId) 
    {
        this.orgId = orgId;
    }

    public String getOrgId() 
    {
        return orgId;
    }

    public void setMchId(String mchId) 
    {
        this.mchId = mchId;
    }

    public String getMchId() 
    {
        return mchId;
    }

    public void setPayApiclientKey(String payApiclientKey) 
    {
        this.payApiclientKey = payApiclientKey;
    }

    public String getPayApiclientKey() 
    {
        return payApiclientKey;
    }

    public void setApiMchKey(String apiMchKey) 
    {
        this.apiMchKey = apiMchKey;
    }

    public String getApiMchKey() 
    {
        return apiMchKey;
    }

    public void setApiV3Key(String apiV3Key) 
    {
        this.apiV3Key = apiV3Key;
    }

    public String getApiV3Key() 
    {
        return apiV3Key;
    }

    public void setUploadKeyUrl(String uploadKeyUrl) 
    {
        this.uploadKeyUrl = uploadKeyUrl;
    }

    public String getUploadKeyUrl() 
    {
        return uploadKeyUrl;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setAuditStatus(String auditStatus) 
    {
        this.auditStatus = auditStatus;
    }

    public String getAuditStatus() 
    {
        return auditStatus;
    }

    public void setIsDefault(String isDefault) 
    {
        this.isDefault = isDefault;
    }

    public String getIsDefault() 
    {
        return isDefault;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("wechatAppid", getWechatAppid())
            .append("wechatName", getWechatName())
            .append("wechatAppsecret", getWechatAppsecret())
            .append("orgId", getOrgId())
            .append("mchId", getMchId())
            .append("payApiclientKey", getPayApiclientKey())
            .append("apiMchKey", getApiMchKey())
            .append("apiV3Key", getApiV3Key())
            .append("uploadKeyUrl", getUploadKeyUrl())
            .append("status", getStatus())
            .append("auditStatus", getAuditStatus())
            .append("isDefault", getIsDefault())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
